| Table 12.2 Data Control Properties. |
| Property | Description |
| Align | Aligns the data control to either the top, left, bottom, or right of the form. |
| BOFAction | Set this property to what you want to have happen when the user scrolls the data control to the first record in the recordset. Valid options for this property are to have it stay on the first real record in the recordset or to have it move to the phantom record. |
| Caption | This is the area between the movement buttons that you can use to display the name of the table or even the number or records in the recordset. |
| CommandType | The four different types of commands are Unknown, Text, Table, and Stored Procedure. These are related to the ADO Command object, which youll learn about later. |
| ConnectionString | This connection string is whats used to connect to the data source itself. You can write this yourself or you can pop up a dialog box to have the user fill this in by answering a series of questions. This property can be set at runtime, which you may do if you need to change server names in case one server goes down and you need to switch to another. |
| ConnectionTimeOut | Set this to the number of seconds you want to wait for a connection. The default is 15 seconds. You can set this to any amount or to zero (0) to wait indefinitely. This value is subject to change based on how busy your server is, and even how busy your network is. You may want to make this a value that the user can change in his or her configuration. |